
class Singleton(object):
    def __init__(self, *args, **kwargs):
        pass

    def __new__(cls,  *args,  **kwargs):
        if hasattr(cls, '_instance'):
            return cls._instance
        else:
            # cls._instance = super(Singleton,cls).__new__(cls)
            cls._instance = object.__new__(cls)
            return cls._instance